import { createApp } from 'vue'

// nprogress 进度条
import 'nprogress/nprogress.css'
import App from './App.vue'

// 导入 pinia
import pinia from './stores'
const app = createApp(App)
// 使用 pinia
app.use(pinia)

import router from './router/user'
// 使用 router
app.use(router)

// 移动端适配
import 'amfe-flexible'

// 引入 vant 
import vant from 'vant'
import { Lazyload } from 'vant';
// 2. 引入组件样式
import 'vant/lib/index.css';
// 3.引入瀑布流插件
import {VueMasonryPlugin} from 'vue-masonry'

app.use(vant)
app.use(Lazyload);
app.use(VueMasonryPlugin)


app.mount('#app')
